package com.base.system.domain.bo;
import com.base.common.core.domain.BaseEntity;
import com.base.common.core.validate.AddGroup;
import com.base.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 权限菜单业务对象 t_sys_menu
 *
 * @author base
 * @date 2023-10-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TSysMenuBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String menuId;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String menuName;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     *
     */
    private String parentId;

    /**
     *
     */
    private Long ordered;

    /**
     *
     */
    private String menuPermissionCode;

    /**
     *
     */
    private String permissionCode;

    /**
     *
     */
    private String icon;

    /**
     * 菜单类型(1-菜单 0-按钮)
     */
    private String menuType;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String menuPath;

    /**
     *
     */
    private String vuePath;

    /**
     *
     */
    private String redirect;

    /**
     *
     */
    private String menuHidden;

    /**
     *
     */
    private String badge;

    /**
     *
     */
    private String customSvg;

    /**
     *
     */
    private String noClosable;

    /**
     *
     */
    private String noKeepAlive;

    /**
     *
     */
    private String tabHidden;

    /**
     *
     */
    private String alwaysShow;

    /**
     *
     */
    private String remark;


}
